const gulp = require('gulp')
const { series, parallel } = gulp
const fs = require('fs')
const md5 = require('js-md5')

function getMd5(cb){
    fs.readFile('build/nwjs-v0.36.1-win-x64/emidraw.exe', function(err, buf) {
        let md5value = md5(buf)
        console.log("md5>>>", md5value)
    });
    cb()
}
function md5_sdk(cb){
    fs.readFile('build/nwjs-sdk-v0.36.1-win-x64/emidraw.exe', function(err, buf) {
        let md5value = md5(buf)
        console.log("md5>>>", md5value)
    });
    cb()
}

exports.md5 = getMd5
exports.md5sdk = md5_sdk

// exports.default = parallel(compress_fncode);